updating oE free_code
free_code
include std/machine.e public procedure free_code( atom addr, integer size, valid_wordsize wordsize = 1 )
frees up allocated code memory.
Parameters:
- addr : must be an address returned by allocate_code or allocate_protect. Do not pass memory returned from allocate here!
- size : is the length of the sequence passed to alllocate_code or the size you specified when you called allocate_protect.
- wordsize: valid_wordsize default = 1
Comments:
Chances are you will not need to call this function because code allocations are typically public scope operations that you want to have available until your process exits.
See Also: Executable Memory, allocate_code, free
Not Categorized, Please Help
|